//
//  UserRequest.h
//  SleepingElf
//
//  Created by karong on 2023/10/24.
//

#import "BaseRequest.h"

NS_ASSUME_NONNULL_BEGIN

@interface UserRequest : BaseRequest
+ (void)loginWithSuccess:(AnyObjectBlock)success failed:(Failure)failed;
+ (void)getUserInfoWithUser_id:(NSInteger)user_id success:(AnyObjectBlock)success failed:(Failure)failed;
+ (void)editUserInfoWithNickname:(NSString *)nickname success:(EmptyBlock)success failed:(Failure)failed;
+ (void)uploadImage:(UIImage *)image success:(StringBlock)success failed:(Failure)failedl;
+ (void)delUserWithSuccess:(EmptyBlock)success failed:(Failure)failed;
@end

NS_ASSUME_NONNULL_END
